package com.wudl.java8.bean;

import lombok.ToString;

import java.util.List;

/**
 * @ClassName : JsonoBbject
 * @Description :
 * @Author :wudl
 * @Date: 2021-08-26 23:07
 */
@ToString
public class JsonoBbject {

    /**
     * date : 20181020
     * stories : [{"images":["a"],"ga_prefix":"102013","multipic":true,"id":9698943,"title":"每周一吸 · 狸花猫","type":0},{"images":["bbg"],"ga_prefix":"102012","id":9698988,"type":0,"title":"大误 · 救救马云"}]
     */
    private String date;
    private List<StoriesEntity> stories;

    public void setDate(String date) {
        this.date = date;
    }

    public void setStories(List<StoriesEntity> stories) {
        this.stories = stories;
    }

    public String getDate() {
        return date;
    }

    public List<StoriesEntity> getStories() {
        return stories;
    }

    public class StoriesEntity {
        /**
         * images : ["a"]
         * ga_prefix : 102013
         * multipic : true
         * id : 9698943
         * title : 每周一吸 · 狸花猫
         * type : 0
         */
        private List<String> images;
        private String ga_prefix;
        private boolean multipic;
        private int id;
        private String title;
        private int type;

        public void setImages(List<String> images) {
            this.images = images;
        }

        public void setGa_prefix(String ga_prefix) {
            this.ga_prefix = ga_prefix;
        }

        public void setMultipic(boolean multipic) {
            this.multipic = multipic;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<String> getImages() {
            return images;
        }

        public String getGa_prefix() {
            return ga_prefix;
        }

        public boolean isMultipic() {
            return multipic;
        }

        public int getId() {
            return id;
        }

        public String getTitle() {
            return title;
        }

        public int getType() {
            return type;
        }
    }
}
